home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
UTIL
/
SYS
/
INPUT
/
_files
/
_input
/
input_doc
< prev
next >
Wrap
Text File
|
1991-06-28
|
475b
|
24 lines
*Input takes the name of a system variable and does what you might expect.
An application of this might be as follows:
*Echo Which host (<Default$Host>)?
*Input Use$Host
*If "<Use$Host>" = "" then Set Use$Host <Default$Host>
*Do Telnet <Use$Host>
MOV R5,R1
MOV R0,R12
MOV R1,#&FF
MOV R2,#&20
MOV R3,#&FF
SWI "XOS_ReadLine"
MOVVS PC,R14
MOV R2,R1
MOV R0,R5
MOV R1,R12
MOV R3,#0
MOV R4,#0
SWI "XOS_SetVarVal"
MOV PC,R14